#ifndef __DS__H__
#define __DS__H__

	#include <iostream>
	#include <string>
	#include <string.h>
	#include <sqlite3.h>

	#include "datatype.h"
	
	using namespace std;

	class ds
	{
		public:
			ds();
			~ds();

			int open(string filepath);
			int insert(string name,string password);
			int find(string name,string password);
		protected:

		private:
			int query();

			sqlite3 *pDs = NULL;

	};
	

#endif
